var arr = [11, 52, 36, 87, 99, 64, 22]
let contain = arr.sort(function (a, b) {
    return a - b;
})
console.log(contain);